﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Samples.RequestHandlers.RequestHandlers
{
  public class GetBorrowerWithWrap : Albatross.ServerSide.Messaging.RequestHandler<Samples.Contract.RequestsAndResponses.GetBorrowerWithWrapI>
  {
    public override Albatross.Common.Messaging.Response Handle(Samples.Contract.RequestsAndResponses.GetBorrowerWithWrapI request)
    {
      var response = new Samples.Contract.RequestsAndResponses.GetBorrowerO();
      response.MyBorrower = new Samples.Entities.Borrower()
      {
        FirstName = "Marilyn",
        LastName = "Manson"
      };
      return response;
    }
  }
}
